package com.paw.portal.controller;


import cn.hutool.core.date.DateUtil;
import com.paw.common.domain.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Rubble
 * @date 2021/8/15
 **/
@RestController
public class WelcomeController {

  @GetMapping("/")
  public Result<String> welcome(){
    return Result.success("welcome to portal. " + DateUtil.now());
  }
}
